//
//  MyTextView.h
//  79环信
//
//  Created by 刘恒槟 on 15/8/4.
//  Copyright (c) 2015年 刘恒槟. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    KeyBoardTypeWithSystemKeyBoard,
    KeyBoardTypeWithFaceKeyBoard,
    KeyBoardTypeWithFunctionKeyBoard,
} KeyBoardType;

@protocol MyTextViewDelegate;

@interface MyTextView : UITextView

@property (nonatomic , weak) id <MyTextViewDelegate>MyTextViewdelegate;

-(void)changeKeyBoardWithKeyBoardType:(KeyBoardType)type;

-(NSString *)imageText;

@end

@protocol MyTextViewDelegate <UITextViewDelegate>

-(void)TextView:(MyTextView *)textView DidTapFunctionItem:(NSInteger)index;

@end
